<div class="control-group">
    <?php echo form_open('admin/upd_semester'); ?>
    <?php foreach ($smstr as $tah): ?>
    <label class="control-label" for="input01">ID</label>
    <div class="controls">
        <input class="input span1" type="text" name="id" value="<?php echo $tah->id ?>" >
    </div>
    <label class="control-label" for="input01">Semester</label>
    <div class="controls">
        <input id="input01" class="input-xlarge" type="text" name="data" value="<?php echo $tah->semester ?>">
        <p class="help-block">Ketikkan data di kolom di atas.</p>
        <button class="btn btn-success" href="#"><i class="icon-ok icon-white"></i> Simpan</button>
    </div>
    <?php endforeach ?>
    <?php echo form_close() ?>
</div>